<!--<include file="public+header">-->

<!--{script}-->
function add(){
	$("#submit_button").attr("disabled", "disabled");
	$("#submit_button").val( 'add...' );
	Q.AjaxSubmit('creditlogAdd','<!--{:Q::U('creditlog/systemset')}-->','',complete);
}

function complete(data,status){
	$("#submit_button").attr("disabled", false);
	$("#submit_button").val( '<!--<lang package='Template'>-->发布<!--</lang>-->' );
	if(status==1){}
}

checkForm(add);
<!--{/script}-->

	<section class="secondary_bar">
		<div class="breadcrumbs_container">
			<article class="breadcrumbs"><a href="<!--{:Q::U('public/fmain')}-->"><!--<lang package='Template'>-->主页<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a class="current"><!--<lang package='Template'>-->系统奖惩设置<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a href="javascript:void(0);" onclick="adminctrlmenuAdd('<!--{:__SELF__}-->','<!--<lang package='Template'>-->系统奖惩设置<!--</lang>-->')" title="<!--<lang package='Template'>-->添加到快捷导航<!--</lang>-->">[+]</a></article>
		</div>
	</section>

	<section id="main" class="column">
		<article class="module width_full">
			<header><h3><!--<lang package='Template'>-->操作提示<!--</lang>--></h3></header>
			<div class="module_content">
				<ul>
					<li><!--<lang package='Template'>-->您可以在这里变更用户的积分<!--</lang>--></li>
				</ul>
			</div>
		</article>

		<article class="module width_full">
			<header><h3 class="tabs_involved"><!--<lang package='Template'>-->系统奖惩设置<!--</lang>--></h3>
				<ul class="tabs">
					<li class="active"><a href="<!--{:Q::U('creditlog/index')}-->"><!--<lang package='Template'>-->用户积分收益列表<!--</lang>--></a></li>
				</ul>
			</header>
			<form action="<!--{:Q::U('creditlog/systemset')}-->" method="post" id="creditlogAdd" class="validate">
				<div class="module_content">
					<fieldset>
						<label for="user_name"><!--<lang package='Template'>-->用户名<!--</lang>-->(ID)</label>
						<input type="text" name="user_name" id="user_name" size="40" value="" class="{required:true}"/>
						<div class="description input_tips"><!--<lang package='Template'>-->待变更积分的用户名或者用户ID号<!--</lang>--></div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="credit_num"><!--<lang package='Template'>-->积分变更数量<!--</lang>--></label>
						<input type="text" name="credit_num" id="credit_num" size="40" value="1" class="{required:true,number:true}"/>
						<div class="description input_tips"><!--<lang package='Template'>-->数量不能为空或者0，支持负数<!--</lang>--></div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="credit_type"><!--<lang package='Template'>-->积分类型<!--</lang>--></label>
						<select class="field {required:true}" name="credit_type" >
							<!--<foreach for=arrAvailableExtendCredits key=nAvailableExtendCredit value=arrAvailableExtendCredit>-->
							<option value="<!--{$nAvailableExtendCredit}-->"><!--{$arrAvailableExtendCredit['title']}--></option>
							<!--</foreach>-->
						</select>
						<div class="description input_tips"><!--<lang package='Template'>-->可以选择对某种积分进行变更。<!--</lang>--></div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="credit_remark"><!--<lang package='Template'>-->变更备注<!--</lang>--></label>
						<textarea name="credit_remark" id="credit_remark" rows="4"></textarea>
					</fieldset>
				</div>
				<footer>
					<div class="submit_link">
						<input type="hidden" name="ajax" value="1">
						<input type="submit" id="submit_button" value="<!--<lang package='Template'>-->发布<!--</lang>-->" class="alt_btn">
						&nbsp;<input type="reset" value="<!--<lang package='Template'>-->重置<!--</lang>-->">
					</div>
				</footer>
			</form>
		</article>

<!--<include file="public+footer">-->